/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.openbravo.bean;

import cn.ekuma.data.dao.bean.I_AutoGeneratorStringKey;
import cn.ekuma.data.dao.bean.I_ModifiedLogBean;
import java.util.Date;

import com.openbravo.bean.infobean.CustomerInfo;

/**
 *
 * @author Administrator
 */
public class Reservation implements I_ModifiedLogBean<String>,I_AutoGeneratorStringKey{
    /**
	 * 
	 */
	private static final long serialVersionUID = 872522647143314922L;
	private String id;
    private Date createdate;
    private Date dateNew;
    private String title;
    private int chair;
    private boolean isDone;
    private String description;
    private Date lastModified;
    private CustomerInfo customerInfo;

    
    
    public Reservation() {
    	createdate=new Date();
    	isDone=false;
    	dateNew=createdate;
	}

	public int getChair() {
        return chair;
    }

    public void setChair(int chair) {
        this.chair = chair;
    }

    public Date getCreatedate() {
        return createdate;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

    public Date getDateNew() {
        return dateNew;
    }

    public void setDateNew(Date dateNew) {
        this.dateNew = dateNew;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public boolean isIsDone() {
        return isDone;
    }

    public void setIsDone(boolean isDone) {
        this.isDone = isDone;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

     public Date getLastModified() {
        return lastModified;
    }

    public void setLastModified(Date lastModified) {
        this.lastModified = lastModified;
    }

    public String getKey() {
        return id;
    }

    public void setKey(String key) {
        this.id=key;
    }

	public boolean isDone() {
		return isDone;
	}

	public void setDone(boolean isDone) {
		this.isDone = isDone;
	}

	public CustomerInfo getCustomerInfo() {
		return customerInfo;
	}

	public void setCustomerInfo(CustomerInfo customerInfo) {
		this.customerInfo = customerInfo;
	}
    
}
